package system.student.entity;

public class TrainingPlan {
    private Long id;
    private String planName;
    private Long deptId;
    private String deptName;
    private Integer status;


    public TrainingPlan() {
    }

    public TrainingPlan(Long id, String trainingPlan, Long deptId, String deptName, Integer status) {
        this.id = id;
        this.planName = trainingPlan;
        this.deptId = deptId;
        this.deptName = deptName;
        this.status = status;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return planName
     */
    public String getplanName() {
        return planName;
    }

    /**
     * 设置
     * @param planName
     */
    public void setTrainingPlan(String planName) {
        this.planName = planName;
    }

    /**
     * 获取
     * @return deptId
     */
    public Long getDeptId() {
        return deptId;
    }

    /**
     * 设置
     * @param deptId
     */
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    /**
     * 获取
     * @return deptName
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置
     * @param deptName
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return String.format("| %-5d | %-30s | %-10d | %-15s | %-10d |",
                id, planName, deptId, deptName, status);
    }


}
